package swagenda.data;

import java.io.Serializable;
import java.net.URL;

import org.apache.abdera.model.Link;
import org.apache.log4j.Logger;

public class Photo implements Serializable
{
	private static final long serialVersionUID = 20080403;

	transient Logger logger = Logger.getLogger(this.getClass());

	public Photo(Link l)
	{
		super();
		try {
			urlThumbnail = l.getHref().toURL();
		} catch (Exception e) {
			logger.error("could not initialize photo object", e);
		}
	}

	public URL urlThumbnail;
}
